@import url(./webfonts.css);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'sans-serif';
}

*::before,
*::after {
    margin: 0;
    padding: 0;
}

body {
    background-image: url(../image/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.studio-entry {
    width: 100%;
    height: 60px;
    background-color: rgb(255, 136, 0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 80px;
    padding-right: 80px;
    box-shadow: 0 1px 10px 0 #000;
}

.studio-entry a {
    color: #333;
    text-decoration: none;
}

.player {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
}

.wrapper {
    width: 380px;
    background-color: #fff;
    box-shadow: 0 6px 15px #000;
    border-radius: 15px;
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
}

.wrapper i {
    cursor: pointer;
    user-select: none;
}

.progress-area .timer,
.controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.img-area {
    height: 320px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .2);
    overflow: hidden;
}

.img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-details {
    text-align: center;
    margin: 30px 0;
}

.song-details .name {
    font-size: 21px;
}

.song-details .artist {
    font-size: 18px;
    opacity: .5;
}

.progress-area {
    height: 6px;
    width: 100%;
    border-radius: 5px;
    background-color: #f0f0f0;
    cursor: pointer;
}

.progress-area .progress-bar {
    height: inherit;
    width: 0;
    border-radius: inherit;
    background-image: linear-gradient(90deg, #ff74a4 0%, #9f6ea3 100%);
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    height: 12px;
    width: 12px;
    background: inherit;
    border-radius: inherit;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity .2s ease;
}

.progress-area:hover .progress-bar::before {
    opacity: 1;
}

.progress-area .timer {
    margin-top: 2px;
}

.timer span {
    font-size: 13px;
    color: #515c6f;
}

.controls {
    margin: 40px 0 4px 0;
}

.controls i {
    font-size: 26px;
    background-image: linear-gradient(90deg, #ff74a4 0%, #9f6ea3 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.controls > i {
    font-size: 43px;
}

.controls .play-pause {
    height: 54px;
    width: 54px;
    background-image: linear-gradient(#f0f0f0 0%, #cecaca 100%);
    box-shadow: 0 0 5px #ff74a4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.play-pause::before {
    content: '';
    position: absolute;
    height: 43px;
    width: 43px;
    border-radius: inherit;
    background-image: linear-gradient(#ff74a4 0%, #9f6ea3 100%);
}

.play-pause i {
    height: 43px;
    width: 43px;
    font-size: 18px;
    line-height: 43px;
    border-radius: inherit;
    text-align: center;
    background: inherit;
    color: #f0f0f0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}
